package com.ruiyi.careryun.service.ota.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruiyi.careryun.mapper.ota.ServerConfigInfoMapper;
import com.ruiyi.careryun.service.ota.ServerConfigInfoService;

@Service
public class ServerConfigInfoServiceImpl implements ServerConfigInfoService {
    
    @Autowired
    private ServerConfigInfoMapper serverConfigInfoMapper;

    @Override
    public String getConfigNameByConfigValue(String configName) {
        return serverConfigInfoMapper.getConfigNameByConfigValue(configName);
    }

    @Override
    public String getConfigValueByConfigName(String configValue) {
        return serverConfigInfoMapper.getConfigValueByConfigName(configValue);
    }

}
